﻿<%@ control language="C#" autoeventwireup="true" inherits="_modules_ucComplaint, App_Web_uortujqs" %>
    <div id="formCustomerInfo" class="addCustomerContentContainer" style="margin-top:0px;">
        <div class="addCustomerFormContainer">
            <div class="addCustomerFormRow">

                <asp:Repeater ID="rptrCusInfo" runat="server">
                <ItemTemplate>

                <div class="addCustomerFormRow" style="margin-top:0px;">
                    <span class="addCustomerFormText">Customer ID</span>
                    <div class="addCustomerFormInputDiv" style="margin-top:6px;">
                        <asp:Label ID="lblCustomerID" runat="server" Text='<%# Eval("cus_id") %>'></asp:Label>
                    </div>
                </div>
                <div class="addCustomerFormRow" style="margin-top:0px;">
                    <span class="addCustomerFormText">Name</span>
                    <div class="addCustomerFormInputDiv" style="margin-top:6px;">
                        <asp:Label ID="lblCustomerName" runat="server" Text='<%# Eval("customerName") %>'></asp:Label>
                    </div>
                </div>
                <div class="addCustomerFormRow" style="margin-top:0px;">
                    <span class="addCustomerFormText">Product</span>
                    <div class="addCustomerFormInputDiv" style="margin-top:6px;">
                        <asp:Label ID="lblBrand" runat="server" Text='<%# Eval("sale_brand") %>'></asp:Label>&nbsp;
                        <asp:Label ID="lblProduct" runat="server" Text='<%# Eval("sale_product") %>'></asp:Label>&nbsp;
                        <asp:Label ID="lblModal" runat="server" Text='<%# Eval("sale_modal") %>'></asp:Label>
                    </div>
                </div>

                </ItemTemplate>
                </asp:Repeater>


                <div class="addCustomerFormRow" style="margin-top:0px;">
                    <span class="addCustomerFormText">Complaint Description</span>
                    <div class="addCustomerFormInputDiv"><textarea id="txtAreaComplaintDesc" rows="10" cols="50" style="width: 384px; height: 137px;" class="addCustomerFormInput"></textarea></div>
                </div>
                <div class="addCustomerFormRow" style="margin-top:130px;">
                    <span class="addCustomerFormText">Assigned To</span>
                    <div class="addCustomerFormInputDiv">
                        <select id="ddlAssignee" class="addCustomerFormInput">
                            <option value="1" selected="selected">Dipin</option>
                            <option value="2">Suresh</option>
                        </select>
                    </div>
                </div>
                <div class="addCustomerFormRow">
                    <span class="addCustomerFormText">Issue Status</span>
                    <div class="addCustomerFormInputDiv">
                        <select id="ddlStatus" class="addCustomerFormInput" onchange="fnStatusChange();">
                            <option value="0" selected="selected">-- Select Status --</option>
                            <option value="1">Open</option>
                            <option value="2">Closed</option>
                            <option value="3">Pending</option>
                        </select>
                    </div>
                </div>
                <div id="isSpareDiv" class="addCustomerFormRow" style="display:none;">
                    <span class="addCustomerFormText" style="width: 190px;">Any spare device supplied?</span>
                    <div class="addCustomerFormInputDiv">
                        <input type="radio" name="spare" value="Yes" onclick="fnClickYes();" />Yes
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <input type="radio" name="spare" value="No" onclick="fnClickNo();" />No
                    </div>
                </div>
                <div id="spareDetails" class="addCustomerFormRow" style="display:none;">
                    <span class="addCustomerFormText" style="width: 190px;">Enter spare device details</span>
                    <div class="addCustomerFormInputDiv">
                        <input id="spareDetails" type="text" class="addCustomerFormInput" />
                    </div>
                </div>
            </div>
        </div>
        <div class="addCustomerFormButtonContainer">
            <div class="adminGrayButton">Cancel</div>
            <div class="adminColorButton" onclick="fnSaveComplaint();">Save & Continue</div>
        </div>
    </div>
